<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->params['static'].'assets/js/bootbox.min.js',2); ?>
<div class="col-xs-12">
										<h3 class="row header smaller lighter blue">
											<span class="col-xs-6"> 成绩导入 </span>
										</h3>

										<div id="accordion" class="accordion-style1 panel-group">
										    <div class="panel panel-default">
												<div class="panel-heading">
													<h4 class="panel-title">
														<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
															<i class="bigger-110 icon-angle-down" data-icon-hide="icon-angle-down" data-icon-show="icon-angle-right"></i>
															&nbsp;请先读我
														</a>
													</h4>
												</div>

												<div class="panel-collapse in" id="collapseOne" style="height: auto;">
													<div class="panel-body">
												     <p>点击<a target="_blank" href="<?php ?>">这里</a>,下载样本文件，将成绩复制到样本excel中之后，在进行导入操作。1.只能在下载的样本文件中复制数据。2.导入数据时，可能会经历比较长的时间，请耐心等待。</p>
													</div>
												</div>
											</div>
											<div class="panel panel-default">
												<div class="panel-heading">
													<h4 class="panel-title">
														<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
															<i class="bigger-110 icon-angle-down" data-icon-hide="icon-angle-down" data-icon-show="icon-angle-right"></i>
															&nbsp;大一
														</a>
													</h4>
												</div>

												<div class="panel-collapse in" id="collapseOne" style="height: auto;">
													<div class="panel-body">
														<div class="widget-box">
															<div class="widget-header widget-header-small">
																<h5 class="lighter">选择文件</h5>
															</div>

															<div class="widget-body">
																<div class="widget-main">
																	<form class="form-search"  form-id="upload-file" enctype="multipart/form-data" method="post" action="<?php echo Yii::app()->createUrl('adminaccounts/addperformance')?>">
																		<input type="hidden" name="term" value="1">
																		<div class="row">
																			<div class="col-sm-10">
																				<label for="" class="control-label">上学期：</label>
																					 <input type="file" class="form-control" name="up" />
																			</div>
																		
																			<div class="col-sm-2">
																				<br>
																			   <button class="btn btn-primary submit-file" type="submit"><i class="icon-ok">提交</i></button>
																			</div>
																		</div>
																		<div class="row">
																			<div class="col-sm-10">
																				<label for="" class="control-label">下学期：</label>
																					 <input type="file" class="form-control" name="down" />
																			</div>
																		
																			<div class="col-sm-2">
																				<br>
																			   <button class="btn btn-primary submit-file" type="submit"><i class="icon-ok">提交</i></button>
																			</div>
																		</div>
																	</form>
																</div>
															</div>
														</div>
													</div>
												</div>
											</div>

											<div class="panel panel-default">
												<div class="panel-heading">
													<h4 class="panel-title">
														<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
															<i class="bigger-110 icon-angle-right" data-icon-hide="icon-angle-down" data-icon-show="icon-angle-right"></i>
															&nbsp;大二
														</a>
													</h4>
												</div>

												<div class="panel-collapse collapse" id="collapseTwo" style="height: 0px;">
													<div class="panel-body">
														<div class="widget-box">
															<div class="widget-header widget-header-small">
																<h5 class="lighter">选择文件</h5>
															</div>

															<div class="widget-body">
																<div class="widget-main">
																	<form class="form-search"  form-id="upload-file" enctype="multipart/form-data" method="post" action="<?php echo Yii::app()->createUrl('adminaccounts/addperformance')?>">
																		<input type="hidden" name="term" value="2">
																		<div class="row">
																			<div class="col-sm-10">
																				<label for="" class="control-label">上学期：</label>
																					 <input type="file" class="form-control" name="up" />
																			</div>
																		
																			<div class="col-sm-2">
																				<br>
																			   <button class="btn btn-primary submit-file" type="submit"><i class="icon-ok">提交</i></button>
																			</div>
																		</div>
																		<div class="row">
																			<div class="col-sm-10">
																				<label for="" class="control-label">下学期：</label>
																					 <input type="file" class="form-control" name="down" />
																			</div>
																		
																			<div class="col-sm-2">
																				<br>
																			   <button class="btn btn-primary submit-file" type="submit"><i class="icon-ok">提交</i></button>
																			</div>
																		</div>
																	</form>
																</div>
															</div>
														</div>
													</div>
												</div>
											</div>
                                           <div class="panel panel-default">
												<div class="panel-heading">
													<h4 class="panel-title">
														<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseThree">
															<i class="bigger-110 icon-angle-right" data-icon-hide="icon-angle-down" data-icon-show="icon-angle-right"></i>
															&nbsp;大三
														</a>
													</h4>
												</div>

												<div class="panel-collapse collapse" id="collapseThree" style="height: 0px;">
													<div class="panel-body">
														<div class="widget-box">
															<div class="widget-header widget-header-small">
																<h5 class="lighter">选择文件</h5>
															</div>

															<div class="widget-body">
																<div class="widget-main">
																	<form class="form-search"  form-id="upload-file" enctype="multipart/form-data" method="post" action="<?php echo Yii::app()->createUrl('adminaccounts/addperformance')?>">
																		<input type="hidden" name="term" value="3">
																		<div class="row">
																			<div class="col-sm-10">
																				<label for="" class="control-label">上学期：</label>
																					 <input type="file" class="form-control" name="up" />
																			</div>
																		
																			<div class="col-sm-2">
																				<br>
																			   <button class="btn btn-primary submit-file" type="submit"><i class="icon-ok">提交</i></button>
																			</div>
																		</div>
																		<div class="row">
																			<div class="col-sm-10">
																				<label for="" class="control-label">下学期：</label>
																					 <input type="file" class="form-control" name="down" />
																			</div>
																		
																			<div class="col-sm-2">
																				<br>
																			   <button class="btn btn-primary submit-file" type="submit"><i class="icon-ok">提交</i></button>
																			</div>
																		</div>
																	</form>
																</div>
															</div>
														</div>
													</div>
												</div>
											</div>
											<div class="panel panel-default">
												<div class="panel-heading">
													<h4 class="panel-title">
														<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseFour">
															<i class="bigger-110 icon-angle-right" data-icon-hide="icon-angle-down" data-icon-show="icon-angle-right"></i>
															&nbsp;大四
														</a>
													</h4>
												</div>

												<div class="panel-collapse collapse" id="collapseFour" style="height: 0px;">
													<div class="panel-body">
														<div class="widget-box">
															<div class="widget-header widget-header-small">
																<h5 class="lighter">选择文件</h5>
															</div>

															<div class="widget-body">
																<div class="widget-main">
																	<form class="form-search"  id="upload-file" enctype="multipart/form-data" method="post" action="<?php echo Yii::app()->createUrl('adminaccounts/addperformance')?>">
																		<input type="hidden" name="term" value="4">
																		<div class="row">
																			<div class="col-sm-10">
																				<label for="" class="control-label">上学期：</label>
																					 <input type="file" class="form-control" name="up" />
																			</div>
																		
																			<div class="col-sm-2">
																				<br>
																			   <button class="btn btn-primary submit-file" type="submit"><i class="icon-ok">提交</i></button>
																			</div>
																		</div>
																		<div class="row">
																			<div class="col-sm-10">
																				<label for="" class="control-label">下学期：</label>
																					 <input type="file" class="form-control" name="down" />
																			</div>
																		
																			<div class="col-sm-2">
																				<br>
																			   <button class="btn btn-primary submit-file" type="submit"><i class="icon-ok">提交</i></button>
																			</div>
																		</div>
																	</form>
																</div>
															</div>
														</div>
													</div>
												</div>
											</div>
										</div>
									</div>
									
									
<script type="text/javascript">
  jQuery(function($) {
	 
	 <?php
	     if(Yii::app()->user->hasFlash('add')){
			 echo 'bootbox.alert("'.Yii::app()->user->getFlash('add').'",function(){});';
			 
		 }
	  ?>
	 
	  
	  
  });
</script>